
class DBaseCtrl {
    private _attachReqs = {};

    public init(){

    }

    public execute(){
        
    }

    protected  attach(type:number, fn:Function){
        DEvent.attach(type, fn, this);
    }

    protected detach(type:number, fn:Function){
        DEvent.detach(type, fn, this);
    }

    protected notify(type:number, data?:any){
        DEvent.notify(type, data);
    }
}
